package common.event;

import com.spring.context.ApplicationListener;
import com.spring.context.event.ContextClosedEvent;

/**
 * @Description: This is a sample class.
 * @Author: Simon
 */
public class ContextClosedEventListener implements ApplicationListener<ContextClosedEvent> {
    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println(this.getClass().getName());

    }
}
